package testdemo0;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 黎鹤舞
 * Date: 2023-11-20
 * Time: 11:36
 */
public class Dog extends Animal {

    @Override
    void eat() {
        System.out.println(this.name + " 正在吃狗粮....");
    }
    public Dog(String name) {
        super(name);
    }
}
